package com.heaboy.feedback.domain;

import java.util.Date;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseBasicEntity;
import com.ruoyi.common.core.domain.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import com.baomidou.mybatisplus.annotation.TableName;
/**
 * 签到对象 t_attendance
 * 请自行切换 BaseBasicEntity 和 BaseEntity
 * @author heaboy
 * @date 2024-02-01
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName("t_attendance")
public class Attendance extends BaseEntity{

    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    @TableId(type = IdType.AUTO)
    private Long id;

    /** 课ID */
    @Excel(name = "课ID")
    private Long LessonId;


    /** 课程ID */
    @Excel(name = "课程ID")
    private Long courseId;

    /** 上课教师ID */
    @Excel(name = "上课教师ID")
    private Long teacherId;

    /** 开始时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "开始时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date startTime;

    /** 结束时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "结束时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date endTime;

    /** 应到人数 */
    @Excel(name = "应到人数")
    private Long expectedAttendees;

    /** 实到人数 */
    @Excel(name = "实到人数")
    private Long actualAttendees;

}
